<div class="acsgp_body_menu acsgp_body_menu_selected"><a href="/admin-acsgp-groups">{elang m=admin s=acsgp t=List}</a></div>

<div style="clear:both;"></div>
<br />
<table cellpadding="0" cellspacing="0" class="admin_table">
 <tr>
  <th>{elang m=admin s=acsgp t='Group name'}</th>
  <th>{elang m=admin s=acsgp t=Actions}</th>
 </tr>
 
 <tr>
 <form method="post">
  <td><input type="text" name="name" style="width:99%;" /></td>
  <td><input type="submit" value="{elang m=admin s=acsgp t=Create}" /></td>
 </form>
 </tr>
 
 {foreach from=$groups key=key item=group}
  <tr>
   <td{if $key/2==$key/2|round} class="admin_table_td_zebra"{/if}><a href="?about={$group.acsgp}">{$group.name}</a></td>
   <td{if $key/2==$key/2|round} class="admin_table_td_zebra"{/if}>
   		<a href="?delete={$group.acsgp}" onClick='return confirm("{elang m=admin s=acsgp t='Delete group?'}")'><img src="/open/images/buttons/delete2.png" border=0 title="{elang m=admin s=acsgp t='Delete item'}" /></a>
   		<a href="#" onClick = 'admAcsNewName=prompt("{elang m=admin s=acsgp t='Enter new name:'}", "{$group.name}"); if(!admAcsNewName) return false; else {literal}{{/literal}document.location="?edit={$group.acsgp}&name="+admAcsNewName;{literal}}{/literal}'><img src="/open/images/buttons/edit.png" border=0 title="{elang m=admin s=acsgp t='Edit item'}" /></a>
   </td>
  </tr>
 {/foreach}
 
</table>

